package com.jiuli_travel.blog_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiuli_travel.blog_service.model.dto.blog_comment.BlogCommentInsertRequest;
import com.jiuli_travel.blog_service.model.dto.blog_comment.BlogCommentQueryRequest;
import com.jiuli_travel.blog_service.model.entity.BlogComment;
import com.jiuli_travel.blog_service.model.vo.BlogCommentVO;
import com.jiuli_travel.utils.PageDTO;

public interface IBlogCommentService extends IService<BlogComment> {
    /**
     * 分页获取某个博客的评论信息（底层的回复也是分页查询）
     */
    public PageDTO<BlogCommentVO> selectInitBlogCommentsByPage(Long blogId);

    /**
     * 分页获取子类的评论信息
     */
    public PageDTO<BlogCommentVO> selectCommentsByPage(BlogCommentQueryRequest blogCommentQueryRequest);

    /**
     * 发表个人博客评论
     */
    public void publishBlogComment(BlogCommentInsertRequest blogCommentInsertRequest);

    /**
     * 删除个人博客评论（一条）
     */
    public void delBlogComment(Long blogCommentId);
}
